aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatInstructionsTests]/[method:canSerializeThrow(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: e4a022119fc349ab6cc530b685d2feac41a2ad80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module.wasm:	file format wasm 0x1

Section Details:

Type[1]:
 - type[0] () -> nil
Function[1]:
 - func[0] sig=0 <f>
Tag[2]:
 - tag[0] sig=0
 - tag[1] sig=0
Code[1]:
 - func[0] size=8 <f>
Custom:
 - name: "linking"
  - symbol table [count=3]
   - 0: F <f> func=0 [ binding=global vis=default ]
   - 1: E <Error1> tag=0 [ binding=global vis=default ]
   - 2: E <Error2> tag=1 [ binding=global vis=default ]
Custom:
 - name: "reloc.CODE"
  - relocations for section: 3 (Code) [1]
   - R_WASM_TAG_INDEX_LEB offset=0x000008(file=0x000033) symbol=2 <Error2>
Custom:
 - name: "name"
 - func[0] <f>
 - tag[0] <Error1>
 - tag[1] <Error2>

Code Disassembly:

000031 func[0] <f>:
 000032: 08 81 80 80 80 00          | throw 1 <Error2>
 000038: 0b                         | end